package cn.stylefeng.guns.modular.pandian.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.pandian.entity.PandianChoupanDetailed;
import cn.stylefeng.guns.modular.pandian.model.params.PandianChoupanDetailedParam;
import cn.stylefeng.guns.modular.pandian.model.result.PandianChoupanDetailedResult;

/**
 * 抽盘明细表 Mapper 接口
 */
public interface PandianChoupanDetailedMapper extends BaseMapper<PandianChoupanDetailed> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    List<PandianChoupanDetailedResult> customList(@Param("paramCondition") PandianChoupanDetailedParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") PandianChoupanDetailedParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    Page<PandianChoupanDetailedResult> customPageList(@Param("page") Page page, @Param("paramCondition") PandianChoupanDetailedParam paramCondition
    		, @Param("condition") String condition, @Param("deptId")Long deptId);

    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") PandianChoupanDetailedParam paramCondition);

	List<PandianChoupanDetailedResult> historyDetailedList(@Param("paramCondition")PandianChoupanDetailedParam moveDiskDetailedParam);

	List<PandianChoupanDetailedResult> findPositionList(@Param("paramCondition")PandianChoupanDetailedParam moveDiskDetailedParam);

	Page<PandianChoupanDetailedResult> deleteList(@Param("page")Page pageContext, @Param("paramCondition")PandianChoupanDetailedParam moveDiskDetailedParam
			, @Param("condition")String condition, @Param("deptId")Long deptId,@Param("operateId")Long operateId);

	List<PandianChoupanDetailedResult> appabnormalliststaylist( @Param("paramCondition")PandianChoupanDetailedParam param, @Param("deptId")Long deptId,@Param("operateId")Long operateId);

	PandianChoupanDetailedResult findBySpec(@Param("paramCondition")PandianChoupanDetailedParam param);

	List<PandianChoupanDetailedResult> findListBySpec(@Param("paramCondition")PandianChoupanDetailedParam param);

	PandianChoupanDetailedResult findBySpec2(@Param("paramCondition")PandianChoupanDetailedParam param);

}
